package pers.smalltown.authorize.wechat.dto;

public class WxAccessToken {
	private String accessToken;
	private int expiresIn;
	private String refreshToken;
	private String openid;
	private String scope;
	
	private int errcode;
	private String errmsg;
	public String getAccessToken() {
		return accessToken;
	}
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	public int getExpiresIn() {
		return expiresIn;
	}
	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}
	public String getRefreshToken() {
		return refreshToken;
	}
	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getScope() {
		return scope;
	}
	public void setScope(String scope) {
		this.scope = scope;
	}
	
	public int getErrcode() {
		return errcode;
	}
	public void setErrcode(int errorcode) {
		this.errcode = errorcode;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	@Override
	public String toString() {
		return "WxAccessToken [accessToken=" + accessToken + ", expiresIn=" + expiresIn + ", refreshToken="
				+ refreshToken + ", openid=" + openid + ", scope=" + scope + ", errorcode=" + errcode + ", errmsg="
				+ errmsg + "]";
	}

}
